﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ModelLayer;

namespace DBLayer
{
    public interface IMovieDB
    {
        Movie GetMovie(int id);

        Movie GetMovie(string title);

        List<Movie> GetMovies(DateTime dateTime);

        int InsertMovie(Movie m);

        int UpdateMovie(Movie m);

        int DeleteMovie(int id);

        List<Movie> FindMovies(string input, string category);
    }
}
